all:  
	+$(MAKE) NewSyndrome.o init.o conf.o socket.o bot.o routines.o gestion_module.o FLAGS='-c -O3 -Wall'
	+$(MAKE) timeout.o module_list.o kernel_func.o userchan_map.o FLAGS='-c -O3 -Wall'
	$(CC) -O3 -Wall -o ../NewSyndrome$(ext_bin) NewSyndrome.o init.o conf.o socket.o bot.o routines.o gestion_module.o timeout.o module_list.o kernel_func.o userchan_map.o $(icone) $(flag) 

NewSyndrome.o: NewSyndrome.c NewSyndrome.h
	$(CC) $(FLAGS) NewSyndrome.c

timeout.o: timeout.c NewSyndrome.h
	$(CC) $(FLAGS) timeout.c

init.o: init.c NewSyndrome.h
	$(CC) $(FLAGS) init.c

conf.o: conf.c NewSyndrome.h
	$(CC) $(FLAGS) conf.c

socket.o: socket.c NewSyndrome.h
	$(CC) $(FLAGS) socket.c

bot.o: bot.c NewSyndrome.h
	$(CC) $(FLAGS) bot.c

routines.o: routines.c NewSyndrome.h
	$(CC) $(FLAGS) routines.c
	
gestion_module.o: gestion_module.c NewSyndrome.h
	$(CC) $(FLAGS) gestion_module.c

module_list.o: module_list.c NewSyndrome.h
	$(CC) $(FLAGS) module_list.c

kernel_func.o: kernel_func.c NewSyndrome.h
	$(CC) $(FLAGS) kernel_func.c

userchan_map.o: userchan_map.c NewSyndrome.h
	$(CC) $(FLAGS) userchan_map.c
